package com.example.duckshop.bean;

import java.io.Serializable;

public class Orders  implements Serializable {
    private Integer id;
    private Integer userId;//用户ID
    private Integer shopId;//商品ID
    private String amount;//数量
    private String date;//时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }


    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Orders(Integer id, Integer userId, Integer shopId,  String amount, String date) {
        this.id = id;
        this.userId = userId;
        this.shopId = shopId;
        this.amount = amount;
        this.date = date;
    }
}
